package com.person.mapper;

import com.person.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    void  add(@Param("dishFlavors") List<DishFlavor> dishFlavors);

    List<DishFlavor> select(Long id);

    //void addFlavor(@Param("flavors") List<DishFlavor> flavors,@Param("id") Long id);

    void remove(Long id);
}
